import { OrderEntity } from "./OrderEntity";
import { ShopEntity } from "./ShopEntity";
import { UserEntity } from "./UserEntity";
import { BaseEntity } from "./baseEntity";

export const CommentFields = `
id
createAt
updateAt
userId
shopId
context
orderId
hash_key
rate
`
export interface CommentEntity extends BaseEntity {
    userId: number;

    user: UserEntity

    shopId: number;

    shop: ShopEntity

    context: string;

    orderId: number;

    order: OrderEntity

    hash_key: string

    rate: number;
}